package com.snake.springboot.custom.dao.mybatis.mappers.goods;

import com.snake.springboot.custom.dao.mybatis.entity.goods.StrategyGoodsDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StrategyGoodsMapper {
    int delete(String strategyGoodsId);

    int insert(StrategyGoodsDO record);

    int update(StrategyGoodsDO record);

    List<StrategyGoodsDO> queryList(StrategyGoodsDO queryDO);

    StrategyGoodsDO queryById(String strategyGoodsId);

    int upState(StrategyGoodsDO goodsDO);

    List<StrategyGoodsDO> payDetail(List<String> goodsIds);

}